package com.example.android.myTTP;


import android.app.Activity;
import android.graphics.PixelFormat;
import android.os.Bundle;
import android.view.Window;


public class trial extends Activity implements Runnable
{

private Thread  th;
private boolean done;

  @Override
  protected void onCreate (Bundle icicle) 
  {
    super.onCreate (icicle);
    requestWindowFeature (Window.FEATURE_NO_TITLE);
    getWindow().setFormat (PixelFormat.TRANSLUCENT);
    
    done = false;
    th = new Thread (this);
    th.start ();
  }
  
  @Override
  protected void onStop ()
  {
	super.onStop ();
    done = true;
    try
      {
    	th.join ();
      }
    catch (Exception _ex)
      {    	
      }
  }

  public void run ()
  {
	while (!done)
	  {
	  }
  }
}